Map for WinForms | ComponentOne
C1.Win.Map Namespace / MapCollectionBase<T> Class / IndexOf Method
The element.

In This Topic
    IndexOf Method (MapCollectionBase<T>)
    In This Topic
    Gets the index of the element.
    Syntax
    'Declaration
     
    
    Public Function IndexOf( _
       ByVal item As T _
    ) As Integer
    public int IndexOf( 
       T item
    )

    Parameters

    item
    The element.

    Return Value

    The zero-based index of element or -1 if element does not exist in the collection.
    See Also